#!/usr/bin/env python
# encoding: iso-8859-1
"""
mediaSmool.py

Created by Pierrick Terrettaz on 2007-02-01.
Copyright (c) 2007. All rights reserved.
"""

import sys
import os
import wx

from mediasmool.mediaSmool import MediaSmoolApp
from mediasmool.controllers import Controller
from mediasmool.gui import MainFrame

def main():
    app = wx.App()
    mediaSmool = MediaSmoolApp('~')
    controller = Controller(mediaSmool)
    mainFrame = MainFrame(None, controller)
    controller.AddViewer(mainFrame)
    app.MainLoop()
    sys.exit()

if __name__ == '__main__':
    main()

#EOF